<template>
    <!-- //inline平行显示 -->
    <el-form :model="form" label-width="80px" label-position="left" inline>
        
        <el-form-item label="用户名：">
            <el-input v-model="form.name"></el-input>
        </el-form-item>
        <el-form-item label="密码：">
            <el-input v-model="form.pass" type="password" autocomplete="off"></el-input>
        </el-form-item>
        <el-form-item>
            <el-button type="primary">提交</el-button>
            <el-button>重置</el-button>
        </el-form-item>
    </el-form>
</template>

<script setup>
import {reactive} from 'vue'
const form = reactive({
    name: '',
    pass: ''
})
</script>